/**
 * @Function: Subfix 添加后缀
 *   @Author: caigua
 *     @Date: 2016/09/22
 *
 * @TODO: 完善为支持前后缀
 *
 */

define([
    'vue'

], function(Vue) {

    return Vue.filter('Subfix', {
        read: function(model, subfix) {
            return model + subfix;
        },
        write: function(nv) {
            return parseFloat(nv);
        }
    });
});